/**
 * 作者：陈文斌 on 2019/1/18.
 * 邮箱：chen_wennbin@163.com
 * 版本：v1.0
 */

import 'package:json_annotation/json_annotation.dart';
import 'package:crm/model/Company/company_info_model.dart';
import 'package:crm/model/Employee/employee_model.dart';
import 'package:crm/model/Member/member_model.dart';
import 'package:crm/model/Company/company_department_model.dart';

part 'employee_Invite_model.g.dart';

@JsonSerializable()
class EmployeeInviteModel extends Object
    with _$EmployeeInviteModelSerializerMixin {
  String Id;
  String CompanyId;
  CompanyInfoModel Company;
  String EmployeeId;
  EmployeeModel Employee;
  String UserId;
  MemberModel User;
  int Status;
  String InviteTime;
  String InviteMsg;
  String ResponseTime;
  String ResponseMsg;
  String CompanyDepartmentId;
  CompanyDepartmentModel CompanyDepartment;

  EmployeeInviteModel(
    this.Id,
    this.CompanyId,
    this.Company,
    this.EmployeeId,
    this.Employee,
    this.UserId,
    this.User,
    this.Status,
    this.InviteTime,
    this.InviteMsg,
    this.ResponseTime,
    this.ResponseMsg,
    this.CompanyDepartmentId,
    this.CompanyDepartment,
  );

  @override
  factory EmployeeInviteModel.fromJson(Map<String, dynamic> json) => _$EmployeeInviteModelFromJson(json);
}
